package com.bci.pwtz.mysql.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bci.pwtz.mysql.model.Zydljdlref;

public interface ZydljdlrefMapper {
    int deleteByPrimaryKey(String id);

    int insert(Zydljdlref record);

    int insertSelective(Zydljdlref record);

    Zydljdlref selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Zydljdlref record);

    int updateByPrimaryKey(Zydljdlref record);
    
    int deleteById(@Param("id")String id,@Param("lastmodifiedtime")Date time);
    
    List<Zydljdlref> selectListByDl(@Param("deviceid")String deviceid,@Param("portaltype")int portaltype,@Param("begintime")String beginTime,@Param("endtime")String endTime,@Param("beginindex")int beginIndex,@Param("pagesize")int pageSize);
    
    int selectCountByDl(@Param("deviceid")String deviceid,@Param("portaltype")int portaltype,@Param("begintime")String beginTime,@Param("endtime")String endTime);
    
    int selectRef(@Param("cablepitid")String cablepitid,@Param("connectioncable")String connectioncable);
}